package com.prs.crm.service.cqunicom;


import java.util.Collection;

import com.prs.crm.domain.cqunicom.Company;


import com.prs.crm.service.BaseService;

/**
 * @author  WangTing
 *
 * 创建时间：2011-3-4 
 * 
 */
public interface CompanyService extends BaseService<Company> {
	
	Collection<Company> getAllCompany();
	
	boolean existSameNum(String serial_number);
	
	
	Collection<Company> getCompanyBySerialNumber(String serial_number);
	Company  getCompanyBySerialNum(String serial_number);
	public Company  getCompany(java.io.Serializable id) ;
	Company  getByName(String name);
	
	
}
